/**
*Creature
*Ancestor of all creatures in JungleGo
*Date: Sept 2011
*/
#ifndef CREATURE_H
#define CREATURE_H

#include "object.hpp"
#include "types.hpp"

class Consumable;
class Brain;

class Creature : public Object {

public:
    Creature();
    virtual ~Creature();
    bool eat(Consumable &con);
    void init(float rad, s_colour col, s_vector pos, s_vector vel);
    void move();
    void paint();
    void saveCreature (const char * filename);
    void loadCreature (const char * filename);

private:
    Brain * m_brain;
    int m_health;
    int m_age;
    int m_speed;
};

#endif

